package com.sctvcloud.qingchuan.beans;

import java.util.List;

/**
 * 新闻列表数据
 */
public class AccountNewsVo {

    private List<AccountNewsItem> news;
    private String pages;

    public List<AccountNewsItem> getNews() {
        return news;
    }

    public void setNews(List<AccountNewsItem> news) {
        this.news = news;
    }

    public String getPages() {
        return pages;
    }

    public void setPages(String pages) {
        this.pages = pages;
    }

    public int getPageAll() {
        try {
            int p = Integer.parseInt(pages);
            return p;
        } catch (Exception e) {
            return 0;
        }
    }
}
